LEGION Model Builder Help

To create a Delay Profile (single period of time)

  1. Click or select Data > Data Profiles.

    The ‘Edit Data Profile’ dialog box is displayed.

  2. From the drop-down list on the left of the dialog box, select Delay Profile.
    Tip: You can also create Delay Profiles using the new Data Template spreadsheet; see Creating Delay Profiles
  3. Click the New button in the top left-hand corner.

    A new ‘empty’ profile is displayed at the top of the ‘Delay Profile’ tab.

  4. Click the Add button on the right-hand side of the dialog box.

    A red ‘time block’ appears in the profile, spanning the whole of the simulation time.

  5. Click on the time block to select it.

    The Delay Settings parameters become available.

    Note: To remove a time block from a profile, click on it and then click the Remove button.
  6. To set a particular duration for the Delay Profile, change the times in the Start and End boxes.
  7. Select the type of delay you want to apply from the three):

    Fixed delay of – enter a fixed delay period, in seconds.

    or

    Wait until – enter either the model time up to which you would like Entities to be delayed or select the 'Condition' option and click the Condition button to set up a conditional circumstance like density or count inside.

    or

    Variable delay of – enter values in seconds for a Boltzmann Distribution (this requires you to enter values for min, mean and max values).

    The different types of delay are colour coded: ‘Fixed’ is red, ‘Delay until’ green, ‘Variable delay’ blue.
  8. Choose one of the two Action at End Time options to apply at the end time of the delay profile is reached:

    Continue being delayed - if an Entity steps into a Delay Point while this particular delay is still active, it will be delayed for the full duration assigned to it (for example 12 seconds), even if the delay expires in the meantime.

    or

    Stop being delayed - a delayed Entity will not be further delayed beyond the End Time of this time block.